#ifndef AGINGDEAMON_H_
#define AGINGDEAMON_H_
#include <pthread.h>
#include "confFile.h"
#include "mmu.h"

pthread_t agingDeamon;

//this is the function the ageing demon is running
void run();
/**
 * this function will do the shift right to the aging register for all record in the IPT
 * */
void updateAges();

/**
 * initilize aging deamon
 *
 * */
void initAgingDeamon();
void killAgingDeamon();

int agingDeamonExit;
#endif /*AGINGDEAMON_H_*/
